﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AdaptiveAgents.Running_Tools.Agent_Lists
{
    /// <summary>
    /// This Class create a list of Normal agents list with adaptive greedy agent.
    /// </summary>
    class NormalAgentsListWithAdaptiveGreedyAgent : AgentsTypeList
    {
        /// <summary>
        /// Ctor of "Normal-Agents-AgentsTypeList-With-Adaptive-Greedy-Agent" Class.
        /// </summary>
        /// <param name="size">Size of agent list</param>
        public NormalAgentsListWithAdaptiveGreedyAgent(int size) : base("Normal_Agents_List_With_Greedy_Adaptive_Agent", size) { }


        /// <summary>
        /// Ctor of "Normal-Agents-AgentsTypeList-With-Adaptive-Greedy-Agent" Class.
        /// </summary>
        /// <param name="list">AgentsTypeList of agents type</param>
        /// <param name="size">Size of agents list</param>
        public NormalAgentsListWithAdaptiveGreedyAgent(List<string> list, int size) : base(list, size, "Normal_Agents_List_With_Greedy_Adaptive_Agent") { }


        /// <summary>
        /// This function create "Normal-Agents-AgentsTypeList-With-Adaptive-Greedy-Agent" list
        /// </summary>
        public override void CreateList()
        {
            _AgantsList.Add("Greedy");
            for (int i = 1; i < _Size; ++i)
            {
                _AgantsList.Add("Normal");
            }
        }
    }
}
